package cn.lyjuan.payment.third.base.pay.chl.impl.iap.bean;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class IosNotifyRes {

    /**
     * An identifier that App Store Connect generates and
     * the App Store uses to uniquely identify the auto-renewable subscription that the user’s subscription renews.
     * Treat this value as a 64-bit integer.
     */
    //private String auto_renew_adam_id;

    /**
     * The product identifier of the auto-renewable subscription that the user’s subscription renews.
     */
    //private String auto_renew_product_id;

    /**
     * The current renewal status for an auto-renewable subscription product.
     * Note that these values are different from those of the auto_renew_status in the receipt.
     * Possible values: true, false
     */
    //private String auto_renew_status;

    /**
     * The time at which the user turned on or off the renewal status for an auto-renewable subscription,
     * in a date-time format similar to the ISO 8601 standard.
     */
    //private String auto_renew_status_change_date;

    /**
     * The time at which the user turned on or off the renewal status for an auto-renewable subscription,
     * in UNIX epoch time format, in milliseconds. Use this time format to process dates.
     */
    //private String auto_renew_status_change_date_ms;

    /**
     * The time at which the user turned on or off the renewal status for an auto-renewable subscription,
     * in the Pacific time zone.
     */
    //private String auto_renew_status_change_date_pst;

    /**
     * The environment for which App Store generated the receipt.
     * Possible values: Sandbox, PROD
     */
    //private String environment;

    /**
     * The reason a subscription expired.
     * This field is only present for an expired auto-renewable subscription.
     * See expiration_intent for more information.
     * Deprecated in sandbox
     */
    //private Integer expiration_intent;

    /**
     * The latest, Base64-encoded transaction receipt.
     * This field appears in the notification instead of latest_receipt for expired transactions.
     * Note: this field is deprecated in the sandbox environment.
     * Use the unified_receipt.Latest_receipt_info in the unified_receipt object instead.
     * Deprecated in sandbox
     */
    //private Byte latest_expired_receipt;

    /**
     * 最新的Base64编码的交易收据
     * 此字段(沙箱环境中)以弃用
     */
    //private Byte latest_receipt;

    /**
     * 此字段在沙盒环境中已弃用。
     * 使用在Unified_receipt对象中找到的Unified_receipt.Latest_receipt_info字段代替
     */
    //private List<LatestReceiptInfoVo> latest_receipt_info;

    /**
     * 通知类型
     */
    private String notification_type;

    /**
     * 验证收据时password，与您在requestBody字段中提交的共享机密的值相同。
     */
    private String password;

    /**
     * 有关应用程序最新的应用程序内购买交易信息的对象
     */
    private UniReceiptVo unified_receipt;

    /**
     * 包含应用程序捆绑包ID的字符串
     */
    //private String bid;

    /**
     * 包含应用程序捆绑包版本的字符串。
     */
    //private String bvrs;
}
